<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>贪吃蛇</title>
  </head>

  <body>
    <div id="main">
      <!-- 设置游戏区域 -->
      <div class="stage">
        <!-- 设置蛇 -->
        <div class="snake">
          <div class="snake-head"></div>
        </div>
        <!-- 设置食物 -->
        <div id="food">
          <div></div>
          <div></div>
          <div></div>
          <div></div>
        </div>
      </div>

      <div class="score-panel">
        <div>SCORE：<span id="score">0</span></div>
        <div>LEVEL：<span id="level">1</span></div>
      </div>
    </div>
  </body>
</html>
